Yes, there are tools available to check for copyright on music and videos before uploading. Here are a few options:
1- https://support.google.com/youtube/answer/7648743?hl=enThis tool is available to YouTube users who have submitted a valid copyright removal request. It scans YouTube uploads for potential matches to the videos reported in your removal request
2-https://mycopyrightchecker.com/: An online service that scans your music against sources like Deezer, iTunes, Spotify, and YouTube to detect any copyright violations