Checks if a node has the given sprite name either in the sprite or in the sprite inside the button.
Function isSpriteName
#include <Geode/utils/cocos.hpp>cocos2d::CCNode*node
,charconst*name
)node
Node to check
name
Name of the sprite to search for
True if the node has the given sprite name