Deprecated isFaiisSuccess and isFailure