the answer is: probably not.
it will be aware of various input fed in through its senses...and will respond naturally to avoid something it instinctively knows to be a threat. but it has some awareness, albeit most likely vastly different from our own, and it "understands" that it is in danger, and perhaps "knows" something about the kind of danger.