Function StackComparisionsType checkingis BoolCheck is a boolean Output return boolean valuePreviousis WhitelistedNextis Byte