def _is_delayed(obj):
    """Check that object follows the ``class:neurtu.Delayed`` API
    """
    return hasattr(obj, 'compute') and hasattr(obj, 'get_tags') and callable(
        obj.compute) and callable(obj.get_tags)
