class CommonUtils {

    public static boolean resourceCreatedBeforeCutoffData(final Date resourceCreationDate) {
        try {
            if (null != resourceCreationDate) {
                String cutoffDateString = CommonUtils.getPropValue(PacmanSdkConstants.AUTOFIX_CUTOFF_DATE);

                Date cutoffDate = getDateFromString(cutoffDateString, PacmanSdkConstants.MM_DD_YYYY);
                if (resourceCreationDate.before(cutoffDate) || resourceCreationDate.equals(cutoffDate)) {
                    return Boolean.TRUE;
                } else {
                    return Boolean.FALSE;
                }
            }
        } catch (Exception exception) {
            LOGGER.error("Exception in isResourceDateExpired: " + exception.getMessage());
        }
        return Boolean.FALSE;
    }

}