'Check if cleanable VO status is cleanable.
:param pinned: If we should check against pinned version or current
version.
:type pinned: bool
:returns: Whether this needs a workers DB entry or not'

def is_cleanable(self, pinned=False):

    if pinned:
        obj_version = self.get_pinned_version()
    else:
        obj_version = None
    return self._is_cleanable(self.status, obj_version)
