public static function has_pic($user_id) { $database = new Database(); return $database->row_exists('profile_pic', 'user_id', $user_id); }