def keys_required?
      keys = self.segment_keys.dup
      keys.delete(:format)
      return keys.length > 0 ? true : false
    end
def keys_required?
      keys = self.segment_keys.dup
      keys.delete(:format)
      return keys.length > 0 ? true : false
    end
Indicates if the current route requirements segments keys to generate a url.
 @return [Boolean] True if keys are required to generate a url, otherwise, false.