hasXXXX functions