check for static functions declarations