checking for custom types returns false on nil