def check_forbidden_filename(filename,<EOL>destiny_os=os.name,<EOL>restricted_names=restricted_names):
return (<EOL>filename in restricted_names or<EOL>destiny_os == '<STR_LIT>' and<EOL>filename.split('<STR_LIT:.>', <NUM_LIT:1>)[<NUM_LIT:0>].upper() in nt_device_names<EOL>)<EOL>
Get if given filename is forbidden for current OS or filesystem.

:param filename:
:param destiny_os: destination operative system
:param fs_encoding: destination filesystem filename encoding
:return: wether is forbidden on given OS (or filesystem) or not
:rtype: bool