替代@get_header [0]以检查远程文件是否存在

I am very new to php. Want to load css file of my plugin if the css file doesnot exist in the theme/my_plugin folder (i copy pasted the file). to include if the file exists in the theme/my_plugin folder I am using @get_headers[0], what could be the alternative to it, which is simpler and easier. I'm including it like this:

<link rel="stylesheet" href="<?php if( @get_headers( MY_THEME_PLUGIN_CSS . 'style-archive.css')[0] == 'HTTP/1.1 404 Not Found') {
            echo set_url_scheme( MY_THEME_PLUGIN_CSS . 'style-archive.css') . MVERSION;
        } else {
            echo set_url_scheme( MY_PLUGIN_CSS . 'style-brochures-archive.css') . EPL_BR_CSS_VERSION;
        } ?>" type="text/css" media="all" />

where MY_THEME_PLUGIN_CSS = my_theme/my_plugin/css/ and MY_PLUGIN_CSS = my_plugin/css

Please let me know how can I minimise the code and yet keep it simple