sconstool.util.
check_kwarg
Checks a single key from keyword arguments against allowed and forbidden keys.
If key is not in allowed keys or it is in forbidden keys, throws TypeError.
TypeError
True