<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _is_playlist_in_config_dir(self):
 """ Check if a csv file is in the config dir """

        if path.dirname(self.stations_file) == self.stations_dir:
            self.foreign_file = False
            self.foreign_filename_only_no_extension = ''
        else:
            self.foreign_file = True
            self.foreign_filename_only_no_extension = self.stations_filename_only_no_extension
        self.foreign_copy_asked = False