has_extension used in SS 3.1 way
Merge pull request #5 from g4b0/ss310-g4b0-addition

has_extension used in SS 3.1 way. Thanks g4b0