def getComponents(glyph):
    """Answers the list of components for this glyph."""
    if glyph is not None:
        if hasattr(glyph, '_components'):
            return glyph._components
        elif hasattr(glyph, 'components'):
            return glyph.components
    return None
