def getElementType(self, elementKw):
        """ return type name for given element keyword,
            e.g. getElementType('Q01') should return string: 'QUAD'
        """
        try:
            etype = list(self.all_elements.get(elementKw.upper()).keys())[0]
        except:
            etype = self.all_elements.get(elementKw.upper())
        return etype.upper()
def getElementType ( self , elementKw ) : try : etype = list ( self . all_elements . get ( elementKw . upper ( ) ) . keys ( ) ) [ 0 ] except : etype = self . all_elements . get ( elementKw . upper ( ) ) return etype . upper ( )
return type name for given element keyword,
            e.g. getElementType('Q01') should return string: 'QUAD'