How to detect assets import via python?

HI, I’d like to know is there a way to detect an asset imported from user. For example, if an user drag an image into engine, the python script will notice and change some settings. Thank you