Deleted empty isFavoriteMehtode