Corrected boolean statement to detect if drawer is open