Added hasFilter functionality