Added is_control function, method, and tests.