Bug fix: fixed incomplete removal of has method
Minor change: corrected the logic, it should test == null to reflect the
previous behavior