Add is_decreasing(), is_increasing(), is_strictly_increasing(), is_strictly_decreasing(), and is_monotone().
Move predicate functions from api.objects to api.predicates.