Added hasFavorite function for if user has parking location in their favorites