Two utility functions for control

Enyo-DCO-1.1-Signed-off-by: Chris Patalano <chris.patalano@palm.com>