I would suggest `type` over `hash` for checking the binary. However, there is also a tool specifically designed for checking the state of packages:
if ! dpkg-query -s wireless-tools 1> /dev/null 2>&1 ; then
echo "Package wireless-tools is not currently installed."
else
echo "Package wireless-tools is currently installed."
fi