public static boolean checkForPodCreation(V1Pod v1Pod) {
        if (v1Pod == null) {
            return false;
        }
        String status = getAggregatedStatusOfContainersForPod(v1Pod);
        if (K8SRuntimeConstants.POD_RUNING_STATE_CONDITION.equalsIgnoreCase(status)) {
            return true;
        }
        return checkForContainersRestart(v1Pod.getStatus().getContainerStatuses())
                || K8SRuntimeConstants.POD_ERROR_SATES.contains(status);
    }
@param initContainerStatuses
@return status of init container in waiting state, else null
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/util/K8sPodUtil.java