code: def is_registered(ext):
      ''' Returns true when a template exists on an exact match of the provided file extension '''
      return Lean.template_mappings.has_key(ext.lower()) and len(Lean.template_mappings[ext]f is_registered(ext):
      ''' Returns true when a template exists on an exact match of the provided file extension '''
      return Lean.template_mappings.has_key(ext.lower()) and len(Lean.template_mappings[ext])
docs: Returns true when a template exists on an exact match of the provided file extension