pdmlabs.constraint_functions