isSortBy allow for checking without direction