Added checker function to determine if requirement is at top of its hierarchy, to use for creating new Requirement modes.

Signed-off-by: Tushar Narayan <tusharnarayan@gmail.com>