/**
     * allowWifi() is a helper function to toggle the wifi network type filtering in Orb.
     * Disallowing wifi will make Orb to not detecting wifi network type.
     *
     * Default parameter is boolean true.