class GovCloudFlagUtil {

    public static Boolean extractGovCloudFlag(Object object) {
        if (object != null) {
            if (object instanceof Boolean) {
                return (Boolean) object;
            } else if (object instanceof String) {
                return Boolean.parseBoolean((String) object);
            }
        }
        return Boolean.FALSE;
    }

    private  GovCloudFlagUtil();

}