Added function to check validity of using ELL1