This can be simplified: ``return $check >= $low && $check <= $high`;`