Added method to check if icon is glyphicon