Test that `name` is a mount name

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)