def lc(value):
 if (not value):
  return ''
 return value.lower().strip('.')

def lc ( value ) : if ( not value ) : return '' return value . lower ( ) . strip ( '.' )
lower case and remove any periods to normalize for comparison .