Probably not then based on Apple's description of the option:
"Allow your Mac to automatically wake when another device accesses its
shared resources, such as shared printers or Music playlists. Some of these tasks might prevent the computer from sleeping when idle."
Set options that control how your Mac uses energy.
support.apple.com