Moved some logic into an isGrey method.