simplifying api checks for constrained