Check if Asset Exists

Is there a way to check if an asset exists in the assets directory? app.get_asset_url() returns a URL, regardless of whether there’s a file behind it or not. I’m trying to write a validator to help other devs when launching apps in our environment