def optional_parameters
      definition_lambda.parameters.select { |key,_value| key == :key }.map { |_key,value| value }
    end
def optional_parameters
      definition_lambda.parameters.select { |key,_value| key == :key }.map { |_key,value| value }
    end
Returns a list of any optional parameters

 Optional parameters are generated automatically by inspecting the optional
 parameters for the definition lambda
 @return [Array<Symbol>] An array of symbols representing optional parameters