mongoctl/commands/command_utils.py
def is_dbpath(value):
    """
    Checks if the specified value is a dbpath. dbpath could be an absolute
    file path, relative path or a file uri
    """

    value = resolve_path(value)
    return os.path.exists(value)

    Checks if the specified value is a dbpath. dbpath could be an absolute
    file path, relative path or a file uri
    
Checks if the specified value is a dbpath. dbpath could be an absolute
file path, relative path or a file uri
Checks if the specified value is a dbpath . dbpath could be an absolute file path relative path or a file uri
def is_dbpath(value):
    value = resolve_path(value)
    return os.path.exists(value)
def is_dbpath ( value ) : value = resolve_path ( value ) return os . path . exists ( value )
Checks if the specified value is a dbpath.
Checks if the specified value is a dbpath .
"""
    Checks if the specified value is a dbpath. dbpath could be an absolute
    file path, relative path or a file uri
    """
value