Fix isDefined -> isEmpty