Should be called : "isOriginAllowed".