def _options_file_exists(name):
 return os.path.isfile(os.path.join(_options_dir(name), 'options'))

def _options_file_exists ( name ) : return os . path . isfile ( os . path . join ( _options_dir ( name ) , 'options' ) )
returns true/false based on whether or not the options file for the specified port exists .