'Detect and set up static paths and urls if needed.'

def _set_up_static_plugin(self, **kwargs):

    self.serves_static = False
    if self._is_static_plugin():
        self.static_path = self._build_static_path()
        self.static_url = self._build_static_url()
        self.serves_static = True
    return self.serves_static
