Using reverted LogCheck method to return true false