<s> import os <EOL> import os . path <EOL> def cs_path_exists ( fspath ) : <EOL> if not os . path . exists ( fspath ) : <EOL> return False <EOL> abspath = os . path . abspath ( fspath ) <EOL> directory , filename = os . path . split ( abspath ) <EOL> return filename in os . listdir ( directory ) </s>
