add object null judgement of isXXXX functions