Added a check when Function's prototype have the 'async' property