if (obj instanceof Task) { Task task = (Task) obj; return ((task.getPrepositionalPhrase(GenericPlugin.INTERNAL) != null) && task.getPlanElement() == null); } return false;
if (obj instanceof Task) { Task task = (Task) obj; return (task.getPrepositionalPhrase(GenericPlugin.INTERNAL) != null); } return false;
        public boolean execute(Object obj) {          if (obj instanceof Task) {            Task task = (Task) obj;            return ((task.getPrepositionalPhrase(GenericPlugin.INTERNAL) != null) &&                task.getPlanElement() == null);          }          return false;        }