util to check mock availability