Check api.__status is defined