Check whether the attribute is None