Binds the Library using functions registered in the **self.__functions** attribute.

        Usage::

            >>> import ctypes
            >>> path = "FreeImage.dll"
            >>> functions = (LibraryHook(name="FreeImage_GetVersion", arguments_types=None, return_value=ctypes.c_char_p),)
            >>> library = Library(path, functions, bind_library=False)
            >>> library.bind_library()
            True
            >>> library.FreeImage_GetVersion()
            '3.15.1'

        :return: Method success.
        :rtype: bool

def bind_library(self):
        """
        Binds the Library using functions registered in the **self.__functions** attribute.

        Usage::

            >>> import ctypes
            >>> path = "FreeImage.dll"
            >>> functions = (LibraryHook(name="FreeImage_GetVersion", arguments_types=None, return_value=ctypes.c_char_p),)
            >>> library = Library(path, functions, bind_library=False)
            >>> library.bind_library()
            True
            >>> library.FreeImage_GetVersion()
            '3.15.1'

        :return: Method success.
        :rtype: bool
        """

        if self.__functions:
            for function in self.__functions:
                self.bind_function(function)
        return True