class KubeUtil {

    public static boolean isNodeOwnedByFenzo(List<String> farzones, V1Node node) {
        if (isFarzoneNode(farzones, node)) {
            logger.debug("Not owned by fenzo (farzone node): {}", node.getMetadata().getName());
            return false;
        }

        if (!hasFenzoSchedulerTaint(node)) {
            logger.debug("Not owned by fenzo (non Fenzo scheduler taint): {}", node.getMetadata().getName());
            return false;
        }

        logger.debug("Owned by fenzo");
        return true;
    }

}