Add FileManaged::isAttachedTo() for check whether a file is attached to an external entity.