def is_mount(self, name):
        """Test that `name` is a mount name"""
        if self.mount_prefix.startswith(self.module_prefix):
            return name.startswith(self.mount_prefix)
        return name.startswith(self.mount_prefix) and not name.startswith(self.module_prefix)
def is_mount ( self , name ) : if self . mount_prefix . startswith ( self . module_prefix ) : return name . startswith ( self . mount_prefix ) return name . startswith ( self . mount_prefix ) and not name . startswith ( self . module_prefix )
Test that `name` is a mount name