Including capacity to check either URL or function