code: def check_name(name):
      
      if type(name) not in [str, unicode]:
          return False
  
      if not is_name_valid(name):
          return False
  
      return True
docs: Verify the name is well-formed
  
      >>> check_name(123)
      False
      >>> check_name('')
      False
      >>> check_name('abc')
      False
      >>> check_name('abc.def')
      True
      >>> check_name('abc.def.ghi')
      False
      >>> check_name('abc.d-ef')
      True
      >>> check_name('abc.d+ef')
      False
      >>> check_name('.abc')
      False
      >>> check_name('abc.')
      False
      >>> check_name('abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd.abcd')
      False
      >>> check_name('abcdabcdabcdabcdabcdabcdabcdabcdabc.d')
      True