Unused Key - use value index on dict instead. 

Better yet single line -
return any(name in btn for btn in buttons.values())