parameters: (l, range)
return_statement: return 0 <= min(range) and max(range) < len(l)
docstring: checks if each element of the range is a valid element of the list and returns True if this is the case.
docstring_summary: checks if each element of the range is a valid element of the list and returns True if this is the case.
docstring_tokens: checks if each element of the range is a valid element of the list and returns True if this is the case .
function: def _range_is_valid(l, range):
      """checks if each element of the range is a valid element of the list and returns True if this is the case."""
      return 0 <= min(range) and max(range) < len(l)
function_tokens: def _range_is_valid ( l , range ) : return 0 <= min ( range ) and max ( range ) < len ( l )