extract method to determine if colors should be disabled
extract method to determine if colors should be disabled

Signed-off-by: Jenny Chou <a78eaa530c7727ae294e18b69c08f3d82f05d404@pivotallabs.com>

cloudfoundry/cli,cloudfoundry/cli,cloudfoundry/cli