class Gitlab::PaginatedResponse

def has_first_page?

def has_first_page?
  !(@links.nil? || @links.first.nil?)
end