/home/edulekha/public_html/wp-content/plugins/really-simple-ssl/settings/src/utils/lib.js
export const in_array = (needle, haystack) => {
    let length = haystack.length;
    for(let i = 0; i < length; i++) {
        if( haystack[i] == needle ) return true;

    }
    return false;
}