isCompanyActive function added on ISSUE #18