Definitely bent. Be sure to check the top tube and down tube for any ripples, near the head tube. That will tell you if the impact that bent the fork went beyond the fork and bent the frame. You will usually see a little paint loss, and can feel a ripple on the underside of the tubes, if there is any damage.
Once installed, I use the straight edge test. Line a straight edge up, through the center bolt hole on the stem, down through the center of the fork crown, etc. If the fork is bent backwards, it will be pretty obvious.
In my case, the fork crown comes to a nice point, giving me a spot for lining up the level.
Bike on workstand (please ignore dirty bar tape):
Then using a four foot level as a straight edge: