public function destroy(UserPolicy $user, Calendar $calendar)
    {
        return $user->id == $calendar->user_id && get_class($user) == $calendar->user_type;
    }
public function destroy(UserPolicy $user, Calendar $calendar)
    {
        return $user->id == $calendar->user_id && get_class($user) == $calendar->user_type;
    }
public function destroy ( UserPolicy $ user , Calendar $ calendar ) { return $ user -> id == $ calendar -> user_id && get_class ( $ user ) == $ calendar -> user_type ; }
Determine if the given user can delete the given calendar.

@param User $user
@param Calendar $calendar

@return bool
Determine if the given user can delete the given calendar .